package com.examples.Mapper;

import com.examples.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.ResponseBody;
import java.util.List;

@Mapper
@Repository
public interface UserMapper {
    List<User> queryList();
    int queryUserById(int id);
    int deleteUser(int id);
    int addUser(User user);
    int updateUser(User user);

}
